<div id="page-content">
<table border="1">
    <tr>
        <th></th>
        <th>Specialization name</th>
        <th>Count of applicants</th>
        <th>applicants</th>
    </tr>
    <%
        @specializations.each do |item| 
    %>
    <tr>
        <td>
            <%= link_to "refresh", {:action => "refresh_applicants", :id=>item}, :remote=>true %>
        </td>
        <td><%= item.specialization %></td>
        <td><%=  render :partial => "printcounts", :locals => {:item => item} %></td>
        <td>
            <%= render :partial => "printapplicants", :locals => {:item => item}%>
        </td>

    </tr>
    <% end %>
</table>
</div>

